﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Skyhook.AI.PathFinder
{
    class PathRequest
    {
        public int TargetX { get; private set; }
        public int TargetY { get; private set; }
        public int StartX { get; private set; }
        public int StartY { get; private set; }
        public MovePath Path { get; private set; }
        
        public PathRequest(int startx, int starty, int targetx, int targety, MovePath path)
        {
            TargetX = targetx;
            TargetY = targety;
            StartX = startx;
            StartY = starty;
            Path = path;

        }

        public void PathFound()
        {
            Path.PathFound();
        }
    }
}
